Checkstyle Results

The following document contains the results of Checkstyle .

Summary

FilesInfosWarningsErrors
2000266

Files

FilesIWE
net/sf/deadbolt/DeadboltEnvironment.java 001
net/sf/deadbolt/DeadboltEnvironment.java 005
net/sf/deadbolt/DeadboltFilter.java 001
net/sf/deadbolt/DeadboltFilter.java 0060
net/sf/deadbolt/handlers/DeadboltHandler.java 001
net/sf/deadbolt/handlers/DeadboltHandler.java 0036
net/sf/deadbolt/handlers/IPFilterHandler.java 0040
net/sf/deadbolt/handlers/SQLInjectionHandler.java 0061
net/sf/deadbolt/handlers/package.html 001
net/sf/deadbolt/model/Room.java 001
net/sf/deadbolt/model/Room.java 0033
net/sf/deadbolt/model/URLMapping.java 001
net/sf/deadbolt/model/URLMapping.java 0013
net/sf/deadbolt/model/package.html 001
net/sf/deadbolt/package.html 001
net/sf/deadbolt/tags/DisplayErrorsTag.java 001
net/sf/deadbolt/tags/DisplayErrorsTag.java 008
net/sf/deadbolt/tags/package.html 001

net/sf/deadbolt/DeadboltEnvironment.java

ErrorLine
Error File does not end with a newline. 0

net/sf/deadbolt/DeadboltEnvironment.java

ErrorLine
Error Line does not match expected header line of 'Copyright (C) 2005 Tim Solley.'. 1
Error Line has trailing spaces. 55
Error Unclosed HTML tag found: <timsolley@yahoo.com> 56
Error Missing a Javadoc comment. 59
Error 'static' modifier out of order with the JLS suggestions. 59

net/sf/deadbolt/DeadboltFilter.java

ErrorLine
Error File does not end with a newline. 0

net/sf/deadbolt/DeadboltFilter.java

ErrorLine
Error Line does not match expected header line of 'Copyright (C) 2005 Tim Solley.'. 1
Error Using the '.*' form of import should be avoided - java.util.*. 55
Error Using the '.*' form of import should be avoided - javax.servlet.*. 57
Error Unused import - net.sf.deadbolt.tags.DisplayErrorsTag. 64
Error Line has trailing spaces. 78
Error Unclosed HTML tag found: <timsolley@yahoo.com> 79
Error Line is longer than 80 characters. 83
Error Missing a Javadoc comment. 83
Error Line is longer than 80 characters. 85
Error Missing a Javadoc comment. 86
Error Missing a Javadoc comment. 92
Error Missing a Javadoc comment. 98
Error Line has trailing spaces. 99
Error Missing a Javadoc comment. 103
Error Line has trailing spaces. 110
Error Method 'init' is not designed for extension - needs to be abstract, final or empty. 124
Error Method length is 202 lines (max allowed is 150). 124
Error Parameter config should be final. 124
Error Expected @param tag for 'config'. 124
Error Expected @throws tag for 'ServletException'. 124
Error Line is longer than 80 characters. 148
Error Line has trailing spaces. 173
Error Line is longer than 80 characters. 179
Error 'if' is not followed by whitespace. 180
Error Line is longer than 80 characters. 184
Error 'for' is not followed by whitespace. 184
Error Line is longer than 80 characters. 186
Error Line is longer than 80 characters. 187
Error Line is longer than 80 characters. 188
Error '+' should be on a new line. 188
Error Line has trailing spaces. 190
Error Line is longer than 80 characters. 195
Error Line is longer than 80 characters. 198
Error Line is longer than 80 characters. 200
Error Line is longer than 80 characters. 201
Error Line has trailing spaces. 207
Error Line is longer than 80 characters. 259
Error Line is longer than 80 characters. 260
Error Line is longer than 80 characters. 322
Error Line has trailing spaces. 336
Error Method 'doFilter' is not designed for extension - needs to be abstract, final or empty. 342
Error Parameter request should be final. 342
Error Expected @param tag for 'request'. 342
Error Parameter response should be final. 342
Error Expected @param tag for 'response'. 342
Error Parameter chain should be final. 343
Error Expected @param tag for 'chain'. 343
Error Expected @throws tag for 'IOException'. 343
Error Expected @throws tag for 'ServletException'. 343
Error Line has trailing spaces. 352
Error 'if' is not followed by whitespace. 357
Error 'for' is not followed by whitespace. 361
Error Line has trailing spaces. 373
Error 'if' construct must use '{}'s. 378
Error Line has trailing spaces. 383
Error Line has trailing spaces. 392
Error 'if' is not followed by whitespace. 417
Error 'if' is not followed by whitespace. 419
Error 'if' construct must use '{}'s. 445
Error Line has trailing spaces. 450

net/sf/deadbolt/handlers/DeadboltHandler.java

ErrorLine
Error File does not end with a newline. 0

net/sf/deadbolt/handlers/DeadboltHandler.java

ErrorLine
Error Line does not match expected header line of 'Copyright (C) 2005 Tim Solley.'. 1
Error Line has trailing spaces. 71
Error Unclosed HTML tag found: <timsolley@yahoo.com> 72
Error Line is longer than 80 characters. 75
Error Missing a Javadoc comment. 75
Error Line has trailing spaces. 83
Error Line has trailing spaces. 89
Error Parameter request should be final. 94
Error Expected @param tag for 'request'. 94
Error Parameter response should be final. 95
Error Expected @param tag for 'response'. 95
Error Parameter room should be final. 95
Error Expected @param tag for 'room'. 95
Error Line has trailing spaces. 100
Error Line has trailing spaces. 104
Error Line has trailing spaces. 108
Error Method 'addErrorKey' is not designed for extension - needs to be abstract, final or empty. 112
Error Parameter request should be final. 112
Error Expected @param tag for 'request'. 112
Error Parameter errorKey should be final. 112
Error Expected @param tag for 'errorKey'. 112
Error Line has trailing spaces. 131
Error Method 'addErrors' is not designed for extension - needs to be abstract, final or empty. 136
Error Parameter request should be final. 136
Error Expected @param tag for 'request'. 136
Error Parameter errors should be final. 136
Error Line is longer than 80 characters. 139
Error Line has trailing spaces. 148
Error Line has trailing spaces. 152
Error Line is longer than 80 characters. 156
Error Method 'addErrorMessage' is not designed for extension - needs to be abstract, final or empty. 156
Error Parameter request should be final. 156
Error Expected @param tag for 'request'. 156
Error Parameter errorMessage should be final. 156
Error Expected @param tag for 'errorMessage'. 156
Error Line is longer than 80 characters. 161

net/sf/deadbolt/handlers/IPFilterHandler.java

ErrorLine
Error Line does not match expected header line of 'Copyright (C) 2005 Tim Solley.'. 1
Error Line is longer than 80 characters. 63
Error Line has trailing spaces. 65
Error Unclosed HTML tag found: <timsolley@yahoo.com> 66
Error Line is longer than 80 characters. 69
Error Missing a Javadoc comment. 69
Error Line has trailing spaces. 70
Error Line is longer than 80 characters. 72
Error Line is longer than 80 characters. 73
Error Expected an @return tag. 76
Error Method 'authenticate' is not designed for extension - needs to be abstract, final or empty. 76
Error Parameter request should be final. 76
Error Expected @param tag for 'request'. 76
Error Parameter response should be final. 77
Error Expected @param tag for 'response'. 77
Error Parameter room should be final. 77
Error Expected @param tag for 'room'. 77
Error Line has trailing spaces. 79
Error Line has trailing spaces. 83
Error Line has trailing spaces. 87
Error Line is longer than 80 characters. 90
Error 'if' is not followed by whitespace. 90
Error Line is longer than 80 characters. 91
Error Line has trailing spaces. 93
Error 'if' is not followed by whitespace. 95
Error 'for' is not followed by whitespace. 100
Error Line has trailing spaces. 104
Error Line is longer than 80 characters. 105
Error 'if' is not followed by whitespace. 105
Error Line is longer than 80 characters. 106
Error Line is longer than 80 characters. 110
Error Line has trailing spaces. 114
Error 'if' is not followed by whitespace. 116
Error 'for' is not followed by whitespace. 121
Error Line has trailing spaces. 125
Error Line is longer than 80 characters. 126
Error 'if' is not followed by whitespace. 126
Error Line is longer than 80 characters. 127
Error Line is longer than 80 characters. 130
Error Line has trailing spaces. 135

net/sf/deadbolt/handlers/SQLInjectionHandler.java

ErrorLine
Error Line does not match expected header line of 'Copyright (C) 2005 Tim Solley.'. 1
Error Using the '.*' form of import should be avoided - java.util.*. 54
Error Line has trailing spaces. 65
Error Unclosed HTML tag found: <timsolley@yahoo.com> 66
Error Line is longer than 80 characters. 69
Error Missing a Javadoc comment. 69
Error Line has trailing spaces. 70
Error First sentence should end with a period. 71
Error Line has trailing spaces. 75
Error Line is longer than 80 characters. 76
Error Missing a Javadoc comment. 76
Error Line is longer than 80 characters. 77
Error Line is longer than 80 characters. 78
Error Missing a Javadoc comment. 80
Error Line has trailing spaces. 81
Error Missing a Javadoc comment. 82
Error Line has trailing spaces. 83
Error Line has trailing spaces. 86
Error Expected an @return tag. 88
Error Line has trailing spaces. 88
Error Method 'authenticate' is not designed for extension - needs to be abstract, final or empty. 88
Error Parameter request should be final. 88
Error Expected @param tag for 'request'. 88
Error Parameter response should be final. 89
Error Expected @param tag for 'response'. 89
Error Parameter room should be final. 89
Error Expected @param tag for 'room'. 89
Error Line has trailing spaces. 91
Error Line has trailing spaces. 93
Error Line has trailing spaces. 94
Error 'if' is not followed by whitespace. 100
Error Line has trailing spaces. 105
Error Line is longer than 80 characters. 108
Error 'if' is not followed by whitespace. 109
Error 'for' is not followed by whitespace. 111
Error '}' should be on the same line. 115
Error 'else' construct must use '{}'s. 116
Error 'for' is not followed by whitespace. 119
Error 'if' is not followed by whitespace. 122
Error Line is longer than 80 characters. 123
Error Line is longer than 80 characters. 124
Error Line has trailing spaces. 126
Error 'if' is not followed by whitespace. 127
Error Line has trailing spaces. 131
Error Line has trailing spaces. 135
Error Line has trailing spaces. 137
Error Line has trailing spaces. 139
Error Expected an @return tag. 145
Error Line is longer than 80 characters. 145
Error Parameter value should be final. 145
Error Expected @param tag for 'value'. 145
Error Parameter request should be final. 145
Error Expected @param tag for 'request'. 145
Error Parameter room should be final. 145
Error Expected @param tag for 'room'. 145
Error Line has trailing spaces. 149
Error 'for' is not followed by whitespace. 150
Error Line is longer than 80 characters. 151
Error 'if' is not followed by whitespace. 152
Error Line is longer than 80 characters. 154
Error Line has trailing spaces. 164

net/sf/deadbolt/handlers/package.html

ErrorLine
Error Missing package documentation file.0

net/sf/deadbolt/model/Room.java

ErrorLine
Error File does not end with a newline. 0

net/sf/deadbolt/model/Room.java

ErrorLine
Error Line does not match expected header line of 'Copyright (C) 2005 Tim Solley.'. 1
Error Line has trailing spaces. 60
Error Unclosed HTML tag found: <timsolley@yahoo.com> 61
Error Missing a Javadoc comment. 64
Error Missing a Javadoc comment. 66
Error Missing a Javadoc comment. 68
Error Method 'getInitParams' is not designed for extension - needs to be abstract, final or empty. 73
Error Method 'setInitParams' is not designed for extension - needs to be abstract, final or empty. 81
Error Parameter initParams should be final. 81
Error 'initParams' hides a field. 81
Error Method 'getErrorPage' is not designed for extension - needs to be abstract, final or empty. 88
Error Method 'setErrorPage' is not designed for extension - needs to be abstract, final or empty. 96
Error Parameter errorPage should be final. 96
Error 'errorPage' hides a field. 96
Error Method 'getHandlers' is not designed for extension - needs to be abstract, final or empty. 103
Error Unused @param tag for 'handler'. 108
Error Method 'setHandler' is not designed for extension - needs to be abstract, final or empty. 111
Error Parameter handlers should be final. 111
Error 'handlers' hides a field. 111
Error Expected @param tag for 'handlers'. 111
Error Line has trailing spaces. 114
Error Line has trailing spaces. 116
Error Expected an @return tag. 120
Error Method 'getInitParam' is not designed for extension - needs to be abstract, final or empty. 120
Error Parameter key should be final. 120
Error Expected @param tag for 'key'. 120
Error Line has trailing spaces. 123
Error Expected an @return tag. 130
Error Method 'initParamExists' is not designed for extension - needs to be abstract, final or empty. 130
Error Parameter key should be final. 130
Error Expected @param tag for 'key'. 130
Error Conditional logic can be removed. 131
Error 'if' is not followed by whitespace. 131

net/sf/deadbolt/model/URLMapping.java

ErrorLine
Error File does not end with a newline. 0

net/sf/deadbolt/model/URLMapping.java

ErrorLine
Error Line does not match expected header line of 'Copyright (C) 2005 Tim Solley.'. 1
Error Line has trailing spaces. 57
Error Unclosed HTML tag found: <timsolley@yahoo.com> 58
Error Missing a Javadoc comment. 61
Error Missing a Javadoc comment. 63
Error Method 'getRoom' is not designed for extension - needs to be abstract, final or empty. 68
Error Method 'setRoom' is not designed for extension - needs to be abstract, final or empty. 76
Error Parameter room should be final. 76
Error 'room' hides a field. 76
Error Method 'getUrlPattern' is not designed for extension - needs to be abstract, final or empty. 83
Error Method 'setUrlPattern' is not designed for extension - needs to be abstract, final or empty. 91
Error Parameter urlPattern should be final. 91
Error 'urlPattern' hides a field. 91

net/sf/deadbolt/model/package.html

ErrorLine
Error Missing package documentation file.0

net/sf/deadbolt/package.html

ErrorLine
Error Missing package documentation file.0

net/sf/deadbolt/tags/DisplayErrorsTag.java

ErrorLine
Error File does not end with a newline. 0

net/sf/deadbolt/tags/DisplayErrorsTag.java

ErrorLine
Error Line does not match expected header line of 'Copyright (C) 2005 Tim Solley.'. 1
Error Line has trailing spaces. 68
Error Unclosed HTML tag found: <timsolley@yahoo.com> 69
Error Line is longer than 80 characters. 72
Error Missing a Javadoc comment. 72
Error Missing a Javadoc comment. 74
Error Expected an @return tag. 81
Error Method 'doEndTag' is not designed for extension - needs to be abstract, final or empty. 81

net/sf/deadbolt/tags/package.html

ErrorLine
Error Missing package documentation file.0